<%@page import="com.mmy.domain.sys.TSysUser"%>
<%@page import="com.mmy.domain.bidtender.TBidInvite"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>  
 <%
 	TSysUser tSysUser = (TSysUser)session.getAttribute("tSysUser");
%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/includeb.jsp"></jsp:include>

<script src="js/date.js"></script>
		
	</head>
	<body>
	<script>
$(function () {
laydate.render({
  elem: '#InviteOutDate',
  type: 'date' ,
  theme: '#1eab3c',
  value: ''
	});
laydate.render({
  elem: '#InviteBackDate',
  type: 'date' ,
  theme: '#1eab3c',
  value: ''
	});
});

$(function () {
laydate.render({
  elem: '#InviteBeginDate',
  type: 'date' ,
  theme: '#1eab3c',
  value: ''
	});
laydate.render({
  elem: '#InviteEndDate',
  type: 'date' ,
  theme: '#1eab3c',
  value: ''
	});
});

</script>
		<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/BackHeader.jsp"></jsp:include>
		<div id="menu-back">
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main Start -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<main class="at-padding-large-bottom">
			<article>
				<header class="bg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
					<div class="page-header container">
						<div class="row">
							<div class="span-5 col">
								<h1>招投标管理</h1>
							</div>	
							
						 </div >
					</div>
				</header>
				<section class="container">
					
					<!-- 新建招标基本信息 -->
					<div class="information" >
					<form action="savecreatebidinvite" class="info-form" name="inviteForm" method="post" onSubmit="return inviteSubmit(this);">
						<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i>新建招标信息
						</h4>
					<div class="input-container">
					<table class="info-table">
					<tr>
					<th><label for="InviteName">招标名称</label><span class="mustWrite">*</span></th>
					<td colspan="5">
						<input type="text" id="InviteName" name="InviteName" maxlength="64" required="required"/>
					</td>
					</tr>
					<tr>
					
					<th><label for="InviteType">招标类型</label><span class="mustWrite">*</span></th>
					<td colspan="2">
					<select class="select-height" id="InviteType" name="Type" required="required">
					<option value="">请选择</option>
					<option value="0">公务</option>
					<option value="1">团建</option>
					<option value="2">业内</option>
					<option value="3">私密游</option>
						</select> 
					</td>
					<th><label for="InviteOutDate">出行日期及返程日期</label><span class="mustWrite">*</span></th>
					<td colspan="2">
					<input type="text" id="InviteOutDate" name="strOutDateTime" placeholder="请选择出行日期"  required/>--<input type="text" id="InviteBackDate" name="strBackDateTime"  placeholder="请选择返程日期"  required/>
					</td>
					
				</tr>
				<tr>
					
					<th><label for="LineZoneID">所属区域</label><span class="mustWrite">*</span></th>
					<td colspan="5">		
						<select class="input-select-vlign " id="LineZoneID" name="Province" emptyOption="false"  onchange="changeSelect(this,'getLevel4','level3','City')" >
					<option value="">---请选择---</option>
					<c:forEach var="lstZoneProvince" items="${lstZoneProvince}">
						<option value="${lstZoneProvince.getZoneID()}">${lstZoneProvince.getZoneName()}</option>
						</c:forEach>
						</select>
						<select class='input-select-vlign  City' name='City' emptyOption='false' onchange="changeSelect(this,'getLevel8','level4','ZoneID')">
						<option >---请选择---</option>
						</select> 	
	<select class='input-select-vlign  ZoneID' name='ZoneID' emptyOption='false' >
							<option >---请选择---</option> 
						</select>
					</td>
					
				</tr>
				<tr>
					<th><label for="InviteSynopsis">招标简介</label><span class="mustWrite">*</span></th>
						<td colspan="5">
						<textarea id="InviteSynopsis" name="Synopsis" maxlength="512" required="required"></textarea>
						
						
					</td>
					
				</tr>
				<tr>
					<th><label for="InviteContent">招标内容</label><span class="mustWrite">*</span></th>
						<td colspan="5">
						<textarea id="InviteContent" name="Content" maxlength="1024" required="required"></textarea>
					</td>
				</tr>
				<tr>
					<th><label for="InviteMeal">用餐要求</label><span class="mustWrite">*</span></th>
						<td colspan="5">
						<textarea id="InviteMeal" name="Meal" maxlength="1024" required="required"></textarea>
					</td>
				</tr>
				<tr>
					<th><label for="InviteStay">住宿要求</label><span class="mustWrite">*</span></th>
						<td colspan="5">
						<textarea id="InviteStay" name="Stay" maxlength="1024" required="required"></textarea>
					</td>
				</tr>
				<tr>
					<th><label for="InviteCar">用车要求</label><span class="mustWrite">*</span></th>
						<td colspan="5">
						<textarea id="InviteCar" name="Car" maxlength="1024" required="required"></textarea>
					</td>
				</tr>
				<tr>
					<th><label for="InviteTrip">行程要求</label><span class="mustWrite">*</span></th>
						<td colspan="5">
						<textarea id="InviteTrip" name="Trip" maxlength="1024" required="required"></textarea>
					</td>
				</tr>
				<tr>
					<th><label for="InviteShop">购物要求</label><span class="mustWrite">*</span></th>
						<td colspan="5">
						<textarea id="InviteShop" name="Shop" maxlength="1024" required="required"></textarea>
					</td>
				</tr>
				<tr>
					<th><label for="InviteRecreation">娱乐要求</label><span class="mustWrite">*</span></th>
						<td colspan="5">
						<textarea id="InviteRecreation" name="Recreation" maxlength="1024" required="required"></textarea>
					</td>
				</tr>
				<tr>
					
					<th><label for="InviteBudget">预算要求</label><span class="mustWrite">*</span></th>
					<td colspan="2">
				<input type="number" step="0.01" id="InviteBudget" name="Budget" maxlength="18"  oninput="if(value>${dbConstParameter.getValue() })value=${dbConstParameter.getValue() };if(value.length>18)value=value.slice(0,18);if(value<0)value=0" required="required"></input> 
					</td>
					<th><label for="InviteBeginDate">招标起止日期</label><span class="mustWrite">*</span></th>
					<td colspan="2">
					<input type="text" id="InviteBeginDate" name="strBeginDateTime" placeholder="请选择开始日期"  required/>--<input type="text" id="InviteEndDate" name="strEndDateTime"  placeholder="请选择结束日期"  required/>
					</td>
					
				</tr>
					<tr>
					
					<th><label for="InviteConnecter">联系人</label><span class="mustWrite">*</span></th>
					<td colspan="2">
				<input type="text"  id="InviteConnecter" name="Name" maxlength="16" required="required"></input> 
					</td>
					<th><label for="InviteTel">联系方式</label><span class="mustWrite">*</span></th>
					<td colspan="2">
						<input type="text"  id="InviteTel" name="Tel" maxlength="16"  required="required"></input>
					</td>
					
				</tr>
				<tr>
					<th><label for="InviteMemo">备注</label></th>
						<td colspan="5">
						<textarea id="InviteMemo" name="Memo" maxlength="256"></textarea>
					</td>
				</tr>
			</table>
			<center>
				<input type="submit" class="btn" value="保存" />
				
				<input type="button" class="btn" value="返回" onclick="rehidder()"/>
			</center> 
			</div>
			</form>
			</div>
			</section>
			</article>
			</main>
			<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main End -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
</div>
		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
	</div>
	<!-- /st-container -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Script Embed Start -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main Slider -->
<jsp:include page="/WEB-INF/jsp/include2.jsp"></jsp:include>
</body>
</html>